package com.reading.common.persistence.view;

import com.reading.common.entity.view.Book;

import javax.annotation.Resource;
import java.util.List;

@Resource
public interface BookMapper {
    Integer deleteByPrimaryKey(Integer bookId);

    Integer insert(Book record);

    Book selectByPrimaryKey(Integer bookId);

    List<Book> selectAllBooks(Book book);

    Integer updateByPrimaryKeySelective(Book record);
}